<!DOCTYPE html>
<html lang="en">
 
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
  <title>网上申请</title>
</head>
 
<body>
  <!-- <script src="js/zepto.min.js"></script> -->
  <script>
 
    var originId = sessionStorage.setItem('originId', '3'); //originId为后台需要判断是哪个入口的值
    var u = navigator.userAgent;
    var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
    var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
    if (isAndroid) {
      //安卓终端使用iframe
      var winH = $(window).height();
      var iframe = document.createElement('iframe');
      iframe.src = "https://4g.yigouu.com/61/";
      iframe.style.width = '100%';
      iframe.style.height = winH + 'px';
      iframe.style.border = '0 none';
      iframe.setAttribute('scrolling', 'auto');
      document.body.appendChild(iframe);
    } else if (isiOS) {
      //iOS终端直接页面跳转
      location.href = 'https://4g.yigouu.com/61/';
    } else {
      location.href = 'https://4g.yigouu.com/61/';
    }
 
  </script>
</body>
 
</html>